







function AddMenu(){
	$.each(AppData,function(key){
		var html="<li><a href='"+this.metro.location+"?key="+key+"' id='"+key+"link'>"+this.metro.title+"</a></li>";
		$("#navUl").append(html);
		$("#navUl").listview( "refresh" );
		$("#"+key+"link").click(function(){
			
			window.key=key;
		});
	});
}

$(function(){
	
	AddMenu();
});